package com.mg.jsfapp.pattern.observer;

public interface ISubject {

   // methods to register and unregister IObservers
   public void register(IObserver obj);
   public void unregister(IObserver obj);

   // method to notify IObservers of change
   public void notifyObservers();

   // method to get updates from subject
   public Object getUpdate(IObserver obj);
}
